package com.sunyard.domee.service;



import com.sunyard.domee.common.model.PageListResult;
import com.sunyard.domee.dal.query.MarketingCouponQuery;
import com.sunyard.domee.service.bo.MarketingCouponBO;

import java.util.List;

/**
 * 优惠券
 *
 * @author xw
 * @email wei.xiao  çæææ
 * @date 2020-07-02 22:52:45
 */
public interface MarketingCouponService {

    /**
	 * 添加数据
	 * @param marketingCouponBO
	 * @return
	 */
    int add(MarketingCouponBO marketingCouponBO);

    /**
     * 修改数据
     * @param marketingCouponBO
     * @return
     */
    int update(MarketingCouponBO marketingCouponBO);


    /**
     * 分页查询
     * @param pagerCondition
     * @return
     */
	PageListResult<MarketingCouponBO> findPage(MarketingCouponQuery pagerCondition);

	/**
   * List查询
   * @param pagerCondition
   * @return
   */
	List<MarketingCouponBO> findList(MarketingCouponQuery pagerCondition);
	/**
	 * id查询
	 * @param id
	 * @return
	 */
	MarketingCouponBO findById(Long id);

}
